package cn.songtx.iot.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class DeviceEm {
    private Long id;                         // 主键
    private LocalDateTime datetime;          // 时间
    private String mac;                      // 终端mac地址
    private Float electricityConsumption;    // 电量
    private Float voltage;                   // 电压
    private Float current;                   // 电流
    private Float activePower;               // 有功功率
    private Float powerFactor;               // 功率因数
}
